.login {
  background-color: #007bff;
  color: #fff;
  position: absolute;
  margin-left: 15%;
  padding: 10px 20px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 16px;
  width: auto;
  height: auto;
  line-height: normal;
}

.top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 3%;
}

.top div {
  margin-right: 10px;
}

.top div input[type="text"] {
  width: 150px;
  padding: 8px;
  border: 1px solid #e9ecef;
  border-radius: 7px;
}

.top #query-button, .top #reset {
  background-color: #007bff;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
}

#all table {
  width: 100%;
  border-collapse: collapse;
}

#all table thead tr th {
  background-color: #e9ecef;
  padding: 10px;
  text-align: left;
  font-weight: bold;
  width: auto;
}

#all table thead tr th:last-child {
  width: 50px;
}

#all table thead input[type="button"] {
  border: none;
  color: blue;
  font-size: 18px;
  background: none;
  padding: 0;
  cursor: pointer;
}

#all table tbody tr td {
  padding: 10px;
  border-top: 1px solid #e9ecef;
}

#all table .data {
  height: 10%;
}

#all table .data:hover {
  background-color: rgba(128, 128, 128, 0.1);
}

#all table .data td, #all table .data th {
  border-bottom: 1px solid grey;
}

#all table .data input[type="button"], #all table .data .delete {
  border: none;
  color: blue;
  font-size: 18px;
  background: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}

#add {
  background-color: #007bff;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
}

#fill, #revise-fill {
  width: 100%;
  height: 100%;
  background-color: #000;
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0.3;
  z-index: 100;
  display: none;
}

#myform, #revise {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 7px;
  top: 0px;
  left: 0px;
  z-index: 101;
  display: none;
}

#myform table, #revise table {
  height: 200px;
  width: 400px;
  border-radius: 2%;
  margin: 20% auto;
  background-color: #fff;
}

#myform table td, #revise table td {
  width: 150px;
}

#myform table td:first-child, #revise table td:first-child {
  padding-left: 25px;
  padding-top: 6px;
}

#myform table td:last-child, #revise table td:last-child {
  padding-right: 52px;
}

#myform table .xiaotianjia .confirm td, #revise table .xiaotianjia .confirm td {
  text-align: center;
}

#page {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

#page #preBtn, #page #nextBtn {
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0 0.25em;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: #f8f9fa;
  color: #007bff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#page #preBtn:hover, #page #nextBtn:hover {
  background-color: #e9ecef;
  border-color: #b8daff;
}

#page #preBtn:active, #page #nextBtn:active {
  background-color: #d1ecf1;
  border-color: #b8daff;
}
